import request from '@/utils/request'

// 查询任务中心列表
export function listAssignment(query) {
  return request({
    url: '/center/assignment/list',
    method: 'get',
    params: query
  })
}

// 接下任务
export function tackAssignment(ids,fileId){
  return request({
    url: `/center/assignment/tack/${ids}/${fileId}`,
    method: 'put',
  })
}
